package com.msb.mall.product.feign;

import com.msb.common.dto.SkuReductionDTO;
import com.msb.common.dto.SpuBoundsDTO;
import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: chshh
 * @version: 1.0
 */
@FeignClient("mall-coupon")
public interface MallCouponClient {

    @PostMapping("/coupon/skufullreduction/saveinfo")
    public R saveFullReductionInfo(@RequestBody SkuReductionDTO dto);

    @PostMapping("/coupon/spubounds/saveSpuBounds")
    public R saveSpuBounds(@RequestBody SpuBoundsDTO spuBounds);

}
